package com.sync.data.mce.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.sync.data.base.BaseEntity;
import com.sync.data.common.annotation.FieldProps;
import com.sync.data.common.annotation.FieldType;
import com.sync.data.common.annotation.RenderType;
import com.sync.data.common.obj.annoation.ObjectPrefix;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Transient;
import java.math.BigDecimal;


 //营销活动-活动预算(mdm_activity_budget: table)实体类

@Getter
@Setter
@Entity
public class MdmActivityBudget extends BaseEntity {

    // 预算信息
    @FieldProps(type = FieldType.STRING, label = "预算年度")
    private String budgetYear;

    @FieldProps(type = FieldType.STRING, label = "管理区域")
    private String managementArea;

    @FieldProps(type = FieldType.STRING, label = "省份")
    private String province;

    @FieldProps(type = FieldType.DICT, label = "大区", renderType = RenderType.Select)
    private String region;

    @FieldProps(type = FieldType.DICT, label = "地级市", renderType = RenderType.Select)
    private String city;


    @FieldProps(type = FieldType.DICT, label = "费用承担部门", renderType = RenderType.Select)
    private String costDepartment;

    @FieldProps(type = FieldType.DICT, label = "会议级别", renderType = RenderType.Select)
    private String meetingLevel;

    // 活动信息
    @FieldProps(type = FieldType.STRING, label = "活动名称")
    private String activityName;

    @FieldProps(type = FieldType.STRING, label = "活动单位范围")
    private String activityScope;

    @FieldProps(type = FieldType.STRING, label = "地点")
    private String location;

    @FieldProps(type = FieldType.NUMBER, label = "规模（参加人数）")
    private Integer scale;

    @FieldProps(type = FieldType.STRING, label = "威高参加人数")
    private String weigaParticipants;

    @FieldProps(type = FieldType.STRING, label = "会议内容")
    private String meetingContent;

    // 费用信息
    @FieldProps(type = FieldType.STRING, label = "去年医学互动项目费用")
    private BigDecimal lastYearCost;

    @FieldProps(type = FieldType.STRING, label = "本年医学互动项目费用")
    private BigDecimal currentYearBudget;

    @FieldProps(type = FieldType.STRING, label = "本年已使用医学互动项目费用")
    private BigDecimal currentYearUsed;

    @FieldProps(type = FieldType.STRING, label = "本年剩余医学互动项目费用")
    private BigDecimal currentYearRemaining;

    // 月度预算
    @FieldProps(type = FieldType.STRING, label = "1月份预算")
    private BigDecimal january;

    @FieldProps(type = FieldType.STRING, label = "2月份预算")
    private BigDecimal february;

    @FieldProps(type = FieldType.STRING, label = "3月份预算")
    private BigDecimal march;

    @FieldProps(type = FieldType.STRING, label = "4月份预算")
    private BigDecimal april;

    @FieldProps(type = FieldType.STRING, label = "5月份预算")
    private BigDecimal may;

    @FieldProps(type = FieldType.STRING, label = "6月份预算")
    private BigDecimal june;

    @FieldProps(type = FieldType.STRING, label = "7月份预算")
    private BigDecimal july;

    @FieldProps(type = FieldType.STRING, label = "8月份预算")
    private BigDecimal august;

    @FieldProps(type = FieldType.STRING, label = "9月份预算")
    private BigDecimal september;

    @FieldProps(type = FieldType.STRING, label = "10月份预算")
    private BigDecimal october;

    @FieldProps(type = FieldType.STRING, label = "11月份预算")
    private BigDecimal november;

    @FieldProps(type = FieldType.STRING, label = "12月份预算")
    private BigDecimal december;

}

